#define TaskBaseTemplateLayout()
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,initial-scale=1, minimum-scale=1,maximum-scale=1, user-scalable=no"/>
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link href="#(contextPath)/assets/front/web/css/layer.css" rel="stylesheet">
	<link href="#(contextPath)/task_template/common/css/index.css" rel="stylesheet">
	#@taskCss()
	<script>
        var redirect=encodeURIComponent("http://www.ele-young.com/platform/mission?id=#(task.id??'')&ucode=#(ucode??'')")
        var code="#(code??'')";
        var ua = navigator.userAgent.toLowerCase();
        var isWeixin = ua.indexOf('micromessenger') != -1;
        if(isWeixin && code==""){
            var weixinUrl = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxf2e44585ce60a754&redirect_uri="+redirect+"&response_type=code&scope=snsapi_userinfo&state=123#wechat_redirect "
            window.location.href=weixinUrl;
        }
	</script>
	<title>#(task.task_title??'')</title>
	<style>
		.click_info{
			position: absolute;
			top: 3.5rem;
			right:2rem;
		}
		.view_num{
			color:grey;
			width:1.5rem;
			position: absolute;
			top: 0.03rem;
			left:0.5rem;
		}
		@media screen and (min-width:600px){
			.mid{
				width:100%;
				margin-left:50%
			}
			.endImg{
				text-align:center;
				margin-left:50%;
			}
		}

	</style>
</head>

<body>
<div class="mid">
	<div style="width:100%;height:2rem;">
		<img src="#(contextPath)/task_template/common/image/top_new_v1.png"  style="width:100%;height:2rem;">
		<button class="go"></button>
	</div>
	<div class="infoBox">
		<!-- <img src=""  style="width:100%;height:4.28rem;"> -->
		<a href="#(contextPath)/h5/whAdMsg/Personinfo.html?callbacl_pos=#(fair.id??0)">
			<div class="picBox">
				<img src=""  class="imgUrl">
			</div>
		</a>
		<div class="name">

		</div>
		<div class="reasons">

		</div>
		<div class="click_info">
			<img width="20" src="#(contextPath)/task_template/common/image/icon01.png"/>
			<em class="view_num">0次</em>
		</div>
	</div>
	<div class="advertise">
		#@taskPageContent()
	</div>
	#if(task.web_url??)
	<div class="showdetail" onclick="taskCVS('#(ucode)','#(task.web_url)');"><span class="showdetail-btn">心动传送</span></div>
	#end
	<img src="#(contextPath)/task_template/common/image/pl.png" class="plImg" />
	<div class="plMain">
	</div>
	<div  class="plMainCon">
		<div style="height:.84rem;width:100%;position:relative;" class="afterBox">
			<div class="allpl">全部<em class="zpl"></em>条评论</div>
			<div class="plBtn"><i>评论</i><em></em></div>
		</div>
		<!-- <div class="commBox">
            <div class="namePic">
                <img src="https://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTLQdE70QPqK4F1iaPsAv9sJP2hz3bJe9kD5GbztSHnFcIJMUFziaTIe0V482YgkJy2oibQulnibjA8LFQ/0" class="userUrl">
                <em class="userName">张泽熙</em>
            </div>
            <div class="toBox"><div class="comcon">我说先什么好饿吧我问我完全青青草出去玩测温从问清楚请我吃潍城区维持切菜请我吃</div></div>
            <div class="bai"></div>
        </div>
        <div class="commBox">
            <div class="namePic">
                <img src="https://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTLQdE70QPqK4F1iaPsAv9sJP2hz3bJe9kD5GbztSHnFcIJMUFziaTIe0V482YgkJy2oibQulnibjA8LFQ/0" class="userUrl">
                <em class="userName">我的天</em>
            </div>
            <div class="toBox"><div class="comcon">回复<em class="toName">宝宝哥</em>:<em style="margin-left:.2rem">我说先什么好饿吧我问我完全说先什么好饿吧我问我完青青草出去玩测温从问清楚请我吃潍城区维持切菜请我吃</em></div></div>
            <div class="bai"></div>
        </div> -->
	</div>
	<input type="hidden" id="ucode" value="#(ucode??'')">
	<input type="hidden" id="code" value="#(code??'')">
	<input type="hidden" id="id" value="#(task.id??'')">
	<input type="hidden" id="ip">
	<input type="hidden" id="toUserNickName">
	<input type="hidden" id="toUserUrl">
</div>

<img src="#(contextPath)/task_template/common/image/end.png" class="endImg" />
<div class="mask">输入内容不能为空哦~</div>
<div id="commentModal" style="display:none">
	<div style="min-height:.98rem;height:auto;width:100%;background:#fff;"  class="inp">
		<div>
			<input type="text" id="cInput" class="oInput" name="" flag="nohave" style="padding-left:.3rem;min-height:.64rem;height:auto;width:5.8rem;background:#f7f7fa;border-radius:10px;margin-left:.28rem;margin-top:.17rem;" placeholder="我也来说一句" toName="">
		</div>
		<!-- <em class="fabu" style="color:#cfcfcf;font-size:.28rem;margin-left:.2rem;">发布</em> -->
		<div style="display:inline-flex;width:100%;justify-content:center">
			<div style="background-color:red;border-radius:.1rem;padding:.1rem;margin:.1rem">
				<div style="color:white;text-align:center" class="fabu" id="saveBtn">保存</div>
			</div>
			<div style="background-color:#d5d5d5;border-radius:.1rem;padding:.1rem;margin:.1rem">
				<div style="color:white;text-align:center" id="closeBtn">关闭</div>
			</div>
		</div>
	</div>
</div>
<div style="min-height:.48rem;height:auto;width:100%;position:fixed;bottom:0;background:#fff;"  class="inp">
	<div style="display:inline-flex;width:100%;justify-content:center;align-items:center;padding:.2rem" class="bot">
		<span style="color:#d5d5d5;margin-right:.2rem">我们希望听到『你』最真实的声音!!</span>
		<div style="background-color:red;border-radius:.1rem;padding:.25rem;" id="commentBtn">
			<!-- --> <div style="color:white;">发布评论</div>
			<!-- <button id="commentBtn">点我试试</button> -->
		</div>
	</div>
</div>

<script type="text/javascript" src="#(contextPath)/task_template/common/js/jquery.min.js" ></script>
<script type="text/javascript" src="http://pv.sohu.com/cityjson"></script>

<script src="#(contextPath)/assets/front/web/script/layer.js"></script>

<script type="text/javascript" src="#(contextPath)/task_template/common/js/common.js" ></script>
<script type="text/javascript" src="#(contextPath)/task_template/common/js/index.js"></script>
<script type="text/javascript" src="#(contextPath)/assets/front/web/script/task-count.js"></script>
<script type="text/javascript">
    
    
    setTimeout(function(){ taskCount("#(ucode??'')");},1000);
    
    $("#ip").val(returnCitySN.cip);
    $("#commentBtn").click(function(){
        layer.open({
            type: 2,
            skin: 'layui-layer-rim', //加上边框
            area: ['90%'], //宽高
            content:["/platform/mission/commentModal",'no'],
            closeBtn:0,
            title:"请输入你的评论内容信息",
            success: function(layero, index){
                layer.iframeAuto(index)
            }
        });

    });
</script>
#@taskJs()
</body>
</html>
#end



#define taskPageContent()

#end


#define taskJs()

#end


#define taskCss()

#end